AccountBookListener

abstract class AccountBookListener

Listener for events related to an AccountBook data set

Created by sreilly - 2014.03.06 17:37

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

This is called when the entire data set from the account book has been replaced. When you get this you should reload everything, but item IDs will maintain consistency.

Link copied to clipboard

This is called when the data is incrementally updated, probably from sync data that is received from elsewhere.

Link copied to clipboard

This is called when any account balances have changed

Link copied to clipboard
open fun syncingBegan(book: AccountBook)

Called when syncing has begun

Link copied to clipboard
open fun syncingFinished(book: AccountBook, success: Boolean, errorMessageIfAny: String?)

Called when syncing has finished

Link copied to clipboard
open fun syncingUpdated(book: AccountBook, status: SyncStatus)

Called to report a change to syncing progress